package com.fbs.job.core.biz;

import com.fbs.job.core.biz.model.HandleCallbackParam;
import com.fbs.job.core.biz.model.RegistryParam;
import com.fbs.job.core.model.ResultT;

import java.util.List;

public interface AdminBiz {


    ResultT<String> callback(List<HandleCallbackParam> callbackParamList);

    /**
     * registry 客户端向调度中心注册
     * @param registryParam
     * @return
     */
    ResultT<String> registry(RegistryParam registryParam);


    /**
     * registry remove 移除注册信息
     * @param registryParam
     * @return
     */
    ResultT<String> registryRemove(RegistryParam registryParam);
}
